package com.ijuit.business.interfaces.user;

import com.ijuit.business.BusinessService;
import com.ijuit.model.user.User;

/**
 * 用户信息业务逻辑层服务接口
 * 
 * @author 罗龙
 *
 */
public interface UserService extends BusinessService<User>{
	
	/**
	 * 登陆方法
	 * @param loginId 登录账号
	 * @param password 登录密码
	 * @return
	 * @throws Exception
	 */
	public int login(String loginId,String password) throws Exception;

	/**
	 * 注册
	 * @param user
	 * @return
	 * @throws Exception
	 */
	public boolean register(User user) throws Exception;
}
